package com.tom.chain_of_responsibility.v3.impl;

import com.tom.chain_of_responsibility.model.req.UserSearchReq;
import com.tom.chain_of_responsibility.v3.GeneralChainHandler;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * @author zx
 * @date 2024-10-10 21:39
 */
@Service
@Order(1)
public class OneRequestHandler extends GeneralChainHandler<UserSearchReq,Boolean> {
    @Override
    public Boolean handleRequest(UserSearchReq userSearchReq) {
        System.out.println("第一关请求参数处理的逻辑");
        return super.handleRequest(userSearchReq);
    }
}
